|
![](/i/fill.gif) |
"Dre" <and### [at] gmail com> wrote in message
news:4bbd2f59$1@news.povray.org...
> Hi, as the title states, can you use the trace command on a heightfield?
>
> I've been trying and trying and I cant get it to work. I've successfully
> used the trace() command on isosurfaces and simple boxes, spheres but I
> cant for the life of me get this to work.
>
> Just wondering if this actually does work or I'm barking up the wrong
> tree!
>
> Cheers Dre
>
Nevermind, I worked it out, that trace command has some weirdness about it.
This doesn't work:
#declare norm = <0, 0, 0>;
trace(object, <xPos, 10, zPos>, <xPos, -10, zPos>, norm>)
Yet this does:
#declare norm = <0, 0, 0>;
#declare startPoint =<xPos, 10, zPos>;
#declare endPoint = <xPos, -10, zPos>;
trace(object, startPoint, endPoint, norm)
Unless I'm doing something wrong, that seems broken to me...
Version 3.6 btw.
Cheers Dre
Post a reply to this message
|
![](/i/fill.gif) |